package com.crm.sys.model;

import java.util.List;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;
import com.crm.customers.model.ApproveItemUser;

/** 
Create Table

CREATE TABLE `crm_approve_configure` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL COMMENT '名称',
  `code` varchar(20) DEFAULT NULL COMMENT '审批流编号',
  `state` int(11) DEFAULT NULL COMMENT '状态(0 启用  1 禁用)',
  `remark` text COMMENT '备注',
  `callingid` int(11) DEFAULT NULL COMMENT '所属行业',
  `createdate` datetime DEFAULT NULL COMMENT '创建时间',
  `updatedate` datetime DEFAULT NULL COMMENT '修改时间',
  `updateuser` varchar(50) DEFAULT NULL COMMENT '修改人',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='审批配置表'

*/
public class ApproveConfigure extends BaseModel {
	/**
	 * 
	 */
	private static final long serialVersionUID = -3687998811977880662L;
	private String name; //名称
	private String code; //审批流编号
	private Integer state; //状态(0 启用  1 禁用)
	private String remark; //备注
	private String urltemplate;//审批配置 审核URL
	private Integer type;//类型
	private List<ApproveItemUser> item;
 
 
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getUrltemplate() {
		return urltemplate;
	}
	public void setUrltemplate(String urltemplate) {
		this.urltemplate = urltemplate;
	}
 
	public List<ApproveItemUser> getItem() {
		return item;
	}
	public void setItem(List<ApproveItemUser> item) {
		this.item = item;
	}
	public void setName(String name){
		this.name=name;
	}
	public String getName(){
		return name;
	}
	public void setCode(String code){
		this.code=code;
	}
	public String getCode(){
		return code;
	}
	public void setState(Integer state){
		this.state=state;
	}
	public Integer getState(){
		return state;
	}
	public void setRemark(String remark){
		this.remark=remark;
	}
	public String getRemark(){
		return remark;
	}
 
	 
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}

